package com.xqgl.dao;

import java.sql.SQLException;

import com.xqgl.bean.Complaint;

public interface ComplaintDao {
	public int add(Complaint complaint) throws SQLException;
	
	public int update(Complaint complaint) throws SQLException;
	
	public boolean delete(int id) throws SQLException;
	
	public Complaint findById(int id) throws SQLException;
}
